package cn.edu.scau.cmi.chenyuanying.classAdapter;

import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

public class Student {
	private SimpleIntegerProperty id;
	private SimpleStringProperty name;
	
	public Student(int id, String name) {
		this.id = new SimpleIntegerProperty(id);
		this.name = new SimpleStringProperty(name);
	}
	
	public int getId() {
		return id.get();
	}

	public String getName() {
		return name.get();
	}
}
